package com.cn.Api.inter;

import com.cn.Api.fallback.Fallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "spring-cloud-client", fallback = Fallback.class)
public interface TestService {
    @RequestMapping("/article/insertArticle")
    String hi(@RequestParam(value = "name") String name);
}
